<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{{$img_url}}index.css" type="text/css" rel="stylesheet" />
{{$xajax_javascript}}
<script language="javascript" type="text/javascript" src="{{$js_url}}function.js"></script>
<div id="mainer">
<table class="table1"><tr>
<td align="left">正在查看 －{{$headline}} <i id="result" class="tips">{{$showtips}}</i></td>
<td align="right" width="200"><a href="Friendlink_add.php">添加链接</a> </td>
</tr></table>
<table class="table2">
<tr>
	<th width="40">序号</th>
	<th width="40">排序</th>
    <th width="150">链接名称</th>
    <th>链接地址</th>
    <th width="120"><select onchange="winopen(this.value,'{{$fileurl_2}}','Ltopicid')">
        	<option value="">==链接类别==</option>
            {{html_options options=$typelist selected=$Ltopicid}}
    </select></th>
    <th width="60">操作</th>
</tr>
{{section name=a loop=$record}}
<tr onmouseover="changeClassName(this,'selected')" onmouseout="changeClassName(this,'')">
	<td class="center">{{$record[a].num}}</td>
    <td class="center"><input class="input1" value="{{$record[a].Lorder}}" 
    	onchange="xajax_positionP(this.value,'{{$record[a].Llinkid}}');" /></td>
	<td><a href="Friendlink_add.php?id={{$record[a].Llinkid}}">{{$record[a].Lname}}</a></td>
	<td><a href="{{$record[a].Lurl}}" target="_blank">{{$record[a].Lurl}}</a></td>
	<td class="center"><a href="{{$fileurl_1}}Ltopicid={{$record[a].Ltopicid}}">{{$record[a].Ltopicname}}</a></td>
	<td class="center"><a onclick="checkclick('确实要删除吗?')" href="{{$fileurl_1}}did={{$record[a].Llinkid}}">删除</a></td>
</tr>
{{/section}}
</table>
<div class="page">{{$page}}</div>
{{include file="footer.html"}}
</div>